how to make a responsive box in css

117

.square {
  width: 50%;
}

.square:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

Comments

Submit
0 Comments